package com.saturn.titan.web.controller;

import java.text.ParseException;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author liuwenhao
 */
@Controller
@RequestMapping(value = "/index")
public class IndexController {

	@RequestMapping(value = "index", method = RequestMethod.GET)
	public String index(Model model) throws ParseException {
		return "index/index";
	}
	
	@RequestMapping(value = "news", method = RequestMethod.GET)
	public String news(Model model) throws ParseException {
		return "index/news";
	}
	
	@RequestMapping(value = "daka", method = RequestMethod.GET)
	public String daka(Model model) throws ParseException {
		return "index/daka";
	}
	
	@RequestMapping(value = "workBillInfo", method = RequestMethod.GET)
	public String workBillInfo(Model model) throws ParseException {
		return "index/workBillInfo";
	}
	
}
